package Shared;

import java.util.ArrayList;
import java.util.Arrays;

public class Configuration {

	public static String ORB_host = "127.0.0.1";
    public static String ORB_port = "2000";
    public static String ORB_services = "NameService";
   
    public static String RMI_host = "localhost";
    public static Integer RMI_port = 2001;
   
    public static String party_manager = "PartyService";
   
    public static final Integer PARTY_ATTENTE=0, PARTY_ENCOURS=1, PARTY_FINIE=2;
    public static final ArrayList<Carte> jeuDeCarte = new ArrayList<Carte>();
    static {
        for(String enseigne : Arrays.asList("coeur", "pique", "trefle", "carreau") ) {
            int i = 1;
            for(String valeur : Arrays.asList(
                    "7", "8", "9", "10",
                    "valet", "dame", "roi", "as"
            )) {
                jeuDeCarte.add(new Carte(valeur, enseigne, i)); i++;
            }
        }
    };
   
    public static final Integer MENU_ACCUEIL=0, MENU_LOGIN=1, MENU_CREERUSER=2, MENU_PLAY=3;



}
